import '@/design/index.less'
import '@/design/tailwind.css'
import { setupStore } from './store'
import { createApp } from 'vue'
import App from './App.vue'
import { router, setupRouter } from './router'
import { registerGlobComp } from 'components/registerGlobComp'

async function bootstarp() {
	const app = createApp(App)

	setupStore(app)
	setupRouter(app)

	registerGlobComp(app)

	await router.isReady()

	app.mount('#app')
}

bootstarp()
